// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const renyangRouter = {
    path: '/renyang',
    component: Layout,
    redirect: '/renyang/index',
    name: 'Renyang',
    meta: {
      title: '认养',
      icon: 'clipboard'
    },
    children: [
      {
        path: 'index',
        component: () => import('@/views/renyang/index'),
        name: 'RenyangIndex',
        meta: { title: '认养管理', icon: '' }
      },
      {
        path: 'sort',
        component: () => import('@/views/renyang/sort/index'),
        name: 'Sort',
        meta: { title: '认养分类', icon: '' }
      },
      {
        path: 'attr',
        component: () => import('@/views/renyang/renyangAttr/index'),
        name: 'RenyangAttr',
        meta: { title: '认养属性', icon: '' }
      },
      {
        path: 'comment',
        component: () => import('@/views/renyang/renyangComment/index'),
        name: 'RenyangComment',
        meta: { title: '认养评论', icon: '' }
      },

      {
        path: 'list/creatRenyang/:id?/:isDisabled?',
        component: () => import('@/views/renyang/creatRenyang/index'),
        name: 'SortCreat',
        meta: { title: '认养添加', noCache: true, activeMenu: `/renyang/index` },
        hidden: true
      }
    ]
  }

export default renyangRouter
